package com.ykcloud.soa.erp.fi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;

//@ImportResource(locations={"classpath:application_dubbo.xml"})
@Configuration
@EnableAutoConfiguration
@EnableDiscoveryClient
@EnableAsync
@ComponentScan(basePackages={"com.ykcloud.soa.erp.fi"})
public class FiMain {
    public static void main(String[] args){
        SpringApplication.run(FiMain.class, args);
        System.out.println("spring 启动好了");
    }

}
